<template>
  <div class="footer">
    <div class="content">
      <div class="qr-code-email">
        <div class="qr-code">
          <img src="../../assets/QRCode.png" alt="QR Code" />
        </div>
        <div class="email">
          {{ $t('card9.email') }}： <br> shangjun2012@163.com
        </div>
      </div>
<!--      当切换到英文的时候换成links-en样式-->
      <div
          class="links"
          :class="{ 'links-en': $i18n.locale === 'en' }"
      >
        <router-link class="link-item" to="/AboutUsView">{{ $t('navbar.aboutUs') }}</router-link>
        <router-link class="link-item" to="/EntrepreneurshipServiceView">{{ $t('navbar.entrepreneurshipService') }}</router-link>
        <router-link class="link-item" to="/GlobalBasesView">{{ $t('navbar.globalBases') }}</router-link>
        <router-link class="link-item" to="/IndustryThinkTankView">{{ $t('navbar.industryThinkTank') }}</router-link>
        <router-link class="link-item" to="/investor">{{ $t('navbar.ecologicalResources') }}</router-link>
        <router-link class="link-item" to="/contactus">{{ $t('navbar.contactUs') }}</router-link>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MyCard9'
}
</script>

<style scoped>
.footer {
  background-color: rgb(155, 203, 251);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px 0 50px;
  position: relative;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 10px 0 10px 0;
}

.qr-code-email {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.qr-code img {
  width: 130px;
  height: 130px;
}

.email {
  color: white;
  padding-left: 20px;
  font-size: 20px;
  font-family: "STSong", "华文中宋", serif;
}

.links {
  display: flex;
  justify-content: space-around;
  width: 45%;
  font-size: 20px;
}

.links-en {
  margin-right: 18%;
  font-size: 18px;
}

.link-item {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  font-size: 18px;
  font-family: "STSong", "华文中宋", serif;

}

.link-item:hover {
  text-decoration: underline;
}
</style>
